let getLogin = function(code){
	return promise = new Promise((resolve,reject) => {
			uni.request({
			    url: 'https://shanfu.51fnt.com/backend/v1/vxLogin/',
			    data: {
			        code: code,
			    },
			    method: 'POST',
			    header: {
			        'content-type': 'application/json'
			    }			       
			}).then((res)=>{
				resolve(res)
			}).catch((err)=>{
				reject(err)
			})
	})

}
module.exports = {
	getLogin
}